package com.lenovo.test

object datezscsdc {

  def main(args: Array[String]): Unit = {
    println(convert_work_years("5+"))
  }
  def convert_work_years(working_years:String):String={
    if(working_years == "5+") return "11"
    else if(working_years == null || ("").equals(working_years) || ("null").equals(working_years.toLowerCase)) return "0"
    else  return (working_years.toDouble*2).toInt.toString
  }

}
